//
// Created by Y2014188432 on 2021/4/16.
//

#ifndef FIGURE_STRUCT_H
#define FIGURE_STRUCT_H

#endif //FIGURE_STRUCT_H
#define  MAX 100
//====== Adjacency array =======//

//====== Adjacency table =======//
// Arc form
typedef struct ArcNode{
    int data;
    struct ArcNode *Note;
}ArcNode;
// node table
typedef struct VNode{
    int data;
    ArcNode *first;
}VNode,nodeList[MAX];
// and form
typedef struct {
    nodeList list;
    int vexNum,arcNum;
}ALGraph;